mechanical simulation